package com.tocici.mapper;

import com.tocici.domain.UserUseTime;
import com.tocici.domain.vo.UserUseTimeVo;
import org.apache.ibatis.annotations.Param;
import org.dromara.common.mybatis.core.mapper.BaseMapperPlus;

import java.util.Date;
import java.util.List;

/**
 * 用户听歌时段Mapper接口
 *
 * @author zeraul
 * @date 2025-03-04
 */
public interface UserUseTimeMapper extends BaseMapperPlus<UserUseTime, UserUseTimeVo> {

    List<Integer> getUsedTime(@Param("start")Date start, @Param("end") Date end);
}
